package com.aiwei.tdjk.dao.extend;



import com.aiwei.tdjk.dao.mbg.PermissionMapper;
import com.aiwei.tdjk.dto.request.GetPermissionPagerRequest;
import com.aiwei.tdjk.entity.Permission;

import java.util.List;


public interface PermissionExtendMapper extends PermissionMapper {
    /**
     * 获取分页列表
     * @param request
     * @return
     */
    List<Permission> find(GetPermissionPagerRequest request);

    /**
     * 获取总数
     * @param request
     * @return
     */
    int getTotalCount(GetPermissionPagerRequest request);

}